﻿using UnityEditor;
using UnityEngine;


namespace UFrame
{
    [CustomEditor(typeof(EffectPlayMB))]
    public class EffectPlayMBEditor : Editor
    {
        public override void OnInspectorGUI()
        {
            if (GUILayout.Button("播放"))
            {
                EffectPlayMB b = target as EffectPlayMB;
                b.AllPlay();
            }

            ;
            if (GUILayout.Button("暂停"))
            {
                EffectPlayMB b = target as EffectPlayMB;
                b.AllStop();
            }

            ;
            base.OnInspectorGUI();
        }
    }
}